package com.csy.user.entity.owner.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csy.user.entity.owner.domain.AjOwnerRoom;
import com.csy.user.entity.owner.domain.AjOwnerRoomRecord;
import com.csy.user.entity.owner.domain.vo.AjOwnerRoomRecordVo;
import com.csy.user.entity.owner.domain.vo.AjOwnerRoomVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface AjOwnerRoomMapper extends BaseMapper<AjOwnerRoomVo> {
    List<AjOwnerRoomVo> getOwnerRoomList(AjOwnerRoomVo ajOwnerRoomVo);

    List<AjOwnerRoomRecordVo> getOwnerRoomRecords(String ownerRoomId);

    int ownerRoomDel(Long ownerRoomId);

    int addOwnerRoom(AjOwnerRoom ajOwnerRoom);

    int updateOwnerRoom(AjOwnerRoomVo ownerRoom);

    void insertRecord(AjOwnerRoomRecord ajOwnerRoomRecord);
}
